package com.heima.article;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 胡慧
 * @title: ArticleApplication
 * @projectName heima-leadnews
 * @description: TODO
 * @date 2021/2/2023:40
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients  //开启fegin
@MapperScan("com.heima.article.mapper")
public class ArticleApplication  {
    public static void main(String[] args) {
        SpringApplication.run(ArticleApplication.class,args);
    }
}
